package mp.weixin.WXpublic.receive;

import mp.weixin.WXpublic.BaseReceiveMessage;
/**
 * 文本消息    
 * 文本 内容 content
 * 消息 id msgId
 *
 */
public class RTextEntity extends BaseReceiveMessage {
	
	private String content;
	private long msgId;

	/**
	 * 消息id 64位整型
	 * 
	 * @return
	 */
	public long getMsgId() {
		return msgId;
	}

	public void setMsgId(long msgId) {
		this.msgId = msgId;
	}

	/**
	 * 文本消息内容
	 * 
	 * @return
	 */
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public ReceiveTypeEnum getMsgType() {
		// TODO Auto-generated method stub
		return ReceiveTypeEnum.TEXT;
	}

	@Override
	public String toString() {
		return "RTextEntity{" + "Content=" + content + ", MsgId=" + msgId + '}';
	}

}
